package com.ssrs.elasticsearch.priv;


import com.ssrs.elasticsearch.ElasticsearchPlugin;
import com.ssrs.framework.extend.annotation.ExtendItem;
import com.ssrs.platform.extend.MenuPrivService;
import com.ssrs.platform.priv.AbstractMenuPriv;

/**
 * 检索后台按钮权限
 *
 * @author ssrs
 */
@ExtendItem(
        plugin = ElasticsearchPlugin.class,
        extendService = MenuPrivService.class,
        description = "索引删除权限项"
)
public class FieldWeightManagerPriv extends AbstractMenuPriv {

    public static final String MENU_ID = "ElasticSearch.FieldWeightManager";

    public static final String FIELD_WEIGHT_EDIT = MENU_ID + "." + "FieldWeightEdit"; // 字段权重修改按钮

    public FieldWeightManagerPriv() {
        super(MENU_ID, "字段权重", null);
        addItem(FIELD_WEIGHT_EDIT, "修改");
    }
}
